From 30d75dcd6797882e7c87317040be40540f7fe6e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Wed, 2 May 2012 02:27:19 +0200 Subject: [PATCH] use stdint types for sized data types --- babl/base/type-half.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/babl/base/type-half.c b/babl/base/type-half.c index 987b88f..798b7dd 100644 --- a/babl/base/type-half.c +++ b/babl/base/type-half.c @@ -61,6 +61,7 @@ #include "config.h" #include #include +#include #include "babl.h" #include "babl-classes.h" @@ -69,10 +70,10 @@ #define mwSize int -#define INT16_TYPE short -#define UINT16_TYPE unsigned short -#define INT32_TYPE long -#define UINT32_TYPE unsigned long +#define INT16_TYPE int16_t +#define UINT16_TYPE uint16_t +#define INT32_TYPE int32_t +#define UINT32_TYPE uint32_t static int next = 1; /* should be 0 for big endian */ -- 2.30.2